public class Demo01Runable {
    public static void main(String[] args) {
        RunableImpl a = new RunableImpl();
        Thread t = new Thread(a);
        t.start();
        for (int i = 0; i < 20; i++) {
            System.out.println(Thread.currentThread().getName()+"-->"+i);
        }
    }
}
